The Dreamweaver JavaScript API > Window functions > dreamweaver.getFocus() |
![]() ![]() ![]() |
Availability
Dreamweaver 4.0
Description
Determines what part of the application is currently in focus.
Arguments
bAllowFloaters
Returns
One of the following strings:
![]() |
"document" if the Document window is in focus. |
![]() |
"site" if the Site window is in focus. |
![]() |
"textView" if the Text view is in focus. |
![]() |
"html" if the Code inspector is in focus. |
![]() |
floaterName , if bAllowFloaters is true and a floating panel has focus, where floaterName is "objects" , "properties" , "launcher" , "library" , "css styles" , "html styles" , "behaviors" , "timelines" , "layers" , "frames" , "templates" , or "history" . |
![]() |
(Macintosh) "none" if neither the Site window nor any Document windows are open. |
Enabler
None.
![]() ![]() ![]() |